#ifndef __MYSTRING_H__
#define __MYSTRING_H__
#define Max 1024

#define Init_String(obj,str) MyString obj;Initialize(&obj,str)

typedef struct string MyString;
struct string
{
    char *string;
    int size;

    void (*print)(MyString *);
    int (*isequal)(MyString *,MyString *);
    int (*iscontains)(MyString *,MyString *);
    int (*Strsize)(MyString *);
    void (*removestring)(MyString *,const char *);
    void (*insertstring)(MyString *,const char *,int);
};


extern void Initialize(MyString *obj,const char *str);
extern void FreeMySting(MyString *obj);


#endif

